# include <iostream>
using namespace std;
int a;
int b;
int square [2][2]
int main (){
	for(a=0,a<2,a++){
		for (b=0,b<2,b++){
			if (a==0){
				square [a][b]=0;
				cout <<square [a][b];
			} 
			if (a==1&&b==0){
				square [a][b]=1;
				cout <<square [a][b];
			}
			if (a==1&&b==1){
				square [a][b]=2;
				cout <<square [a][b];
			}
		} cout 
			<<endl;
	} cout 
		<<endl;
}
